package com.alpha.eceasy.mall.client;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;
import org.springframework.web.service.annotation.PostExchange;

@Deprecated
@HttpExchange
public interface UserRequestClient {
    @GetExchange("/demandContactCommunicationRecord/briefInfo")
    ResponseData getBriefInfo(@RequestParam("demandContactGuid") String demandContactGuid);

    @PostExchange("/demandContactCommunicationRecord/add")
    ResponseData insert(@RequestBody CommunicationRecordDTO requestVo);

    @GetExchange("/demandContactCommunicationRecord/page")
    ResponseData pageList(@RequestParam("orderAliasId") String orderAliasId);

    @PostExchange("/customer/demand/order/create/user")
    ResponseData<Boolean> UserRequest(@RequestBody UserRequest userRequest);

    @PostExchange("/demandContact/user/list")
    ResponseData demandContactByUser(@RequestBody DemandContactPageRequestVO demandContactByUserListDTO);


    @PostExchange("/demandContact/user/add")
    ResponseData demandContactCreateRequest(@RequestBody DemandContactCreateByUserDTO createByUserDTO);

    @PostExchange("/customerInfo/create/mall")
    ResponseData createByMall(@RequestBody CustomerCreateRequestDTO customerCreateRequestDTO);

    @PostExchange("/customerInfo/edit/mall")
    ResponseData editByMall(@RequestBody CustomerEditByMallDTO customerEditByMallDTO);
}
